package cn.iocoder.an.module.business.controller.admin.equipmentmanage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;
@Schema(description = "管理后台 - 设备台账导入 Response VO")
@Data
@Builder
public class ImportRespVO {

    @Schema(description = "创建成功的名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> insertNameList;

    @Schema(description = "更新成功的名称数组", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<String> updateNameList;

    @Schema(description = "导入失败的集合，key 为设备名称，value 为失败原因", requiredMode = Schema.RequiredMode.REQUIRED)
    private Map<String, String> failureMap;
}
